package com.todo.content.iface.frontend.request;

import com.todo.common.common.entity.CurrentUser;
import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/9 14:17
 * @description
 */
@Data
@Schema(title = "根据用户信息查询内容列表入参", description = "根据用户信息查询内容列表入参")
public class ContentBaseByUserParam extends PageRequest {

    private CurrentUser _user;

    @Schema(title = "目标用户id", description = "目标用户id")
    private Long targetUserId;

    public boolean baseCheck() {
        if (targetUserId == null) {
            return false;
        }
        return true;
    }
}
